from hashlib import sha1
#将id加密
def jia_mi(str):
    sh = sha1()
    sh.update(str.encode())
    return sh.hexdigest()